package cn.gs.service.impl;

import org.springframework.stereotype.Service;

@Service
public class CglibProxyDemoServiceImpl {

    public void doMehtod1() {
        System.out.println("CglibProxyDemoServiceImpl.doMehtod1 方法1");
    }

    public String doMehtod2() {
        System.out.println("CglibProxyDemoServiceImpl.doMehtod2 方法2");
        return "方法2 返回 字符串";
    }

    public String doMehtod3() throws Exception {

        System.out.println("CglibProxyDemoServiceImpl.doMehtod3 方法3");
        return "方法3 返回 异常";
    }


}
